const state = {
  appDetailId: -1,
  methodologyFrom: ''
}

const mutations = {
  CHANGE_APPDETAILID: (state, id) => {
    state.appDetailId = id
  },
  CHANGE_METHODOLOGYFROM: (state, form) => {
    state.methodologyFrom = form
  }
}

const actions = {
  changeAppDetailId({ commit }) {
    commit('CHANGE_APPDETAILID')
  },
  changeMethodologyFrom({ commit }) {
    commit('CHANGE_METHODOLOGYFROM')
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
